/**
 * 
 * @authors Your Name (you@example.org)
 * @date    2016-12-14 17:24:41
 * @version $Id$
 */
         var mySwiper = new Swiper('#cn-cotainer',{
            onSlideChangeEnd:function(swiper){
                mnav.slideTo(swiper.activeIndex);
                $("#nav ul li").siblings().removeClass("active");
                $("#nav ul li").eq(swiper.activeIndex).addClass("active");
            }
          });
          var mnav = new Swiper('#nav',{
            spaceBetween: 30,
            onSlideChangeEnd:function(swiper){
                 console.log(swiper)
            },
             slidesPerView: 'auto',
          });
          // mySwiper.params.control = mnav;
          
          $("#nav ul li").each(function(i,el){
            $(el).on("click",function(){
                mySwiper.slideTo(i);
            })
          })
